﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZhouYu.NewWorld.DAL.IRepository;
using ZhouYu.NewWorld.Model;
using ZhouYu.NewWorld.ViewModel;

namespace ZhouYu.NewWorld.BLL.IService
{
    public interface ICashnumberService : IBaseRepository<Cashnumber>, IDenpendecy
    {
        /// <summary>
        /// 多表查询
        /// </summary>
        /// <param name="page"></param>
        /// <param name="limit"></param>
        /// <returns></returns>
        ResponseResult CashnumberInfo(int page, int limit);

        /// <summary>
        /// 多表删除
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        ResponseResult DeleteCash(int id);

        /// <summary>
        /// 删除
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        ResponseResult DeleteCashRecord(int id);

        /// <summary>
        /// 修改状态
        /// </summary>
        /// <param name="cashnumber_Record"></param>
        /// <returns></returns>
        ResponseResult UpdateState(Cashnumber_record cashnumber_Record);
    }
}
